/* Filename: systemlog.c
 * Description: <TODO>
 * Last modified: humble 20200327 14:47
 */
#include <stdio.h>
#include <stdlib.h>
#include <syslog.h>

static void usage(void);

int main(int argc, char **argv)
{
    if(argc != 1){
        fprintf(stderr, "argc !=1");
        usage();
        exit(1);
    }

    printf("%d\n", LOG_EMERG);

    printf("%d\n", LOG_ALERT);

    printf("%d\n", LOG_CRIT);

    printf("%d\n", LOG_ERR);

    printf("%d\n", LOG_WARNING);

    printf("%d\n", LOG_NOTICE);

    printf("%d\n", LOG_INFO);

    printf("%d\n", LOG_DEBUG);

    return 0;
}

static void usage(void)
{
#define USAGE "Usage:\n\
  Helloworld\n"
    printf(USAGE);
}
